<!DOCTYPE html>
<head>
    <title>人员管理</title>
	<#include "/header.html">
</head>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="form-group col-sm-5">
                    <template>
                    <div class="block" >
                        <el-date-picker
                                v-model="queryByDate"
                                type="daterange"
                                value-format="yyyy-MM-dd"
                                unlink-panels
                                start-placeholder="开始日期"
                                end-placeholder="结束日期">
                        </el-date-picker>
                    </div>
                   </template>
            </div>
            <a class="btn btn-default" @click="query">查询</a>
            <!--调部门-->
            <#if shiro.hasPermission("fun:emp:changeDept")>
           <!-- <el-popover
                    placement="bottom"
                    width="100%"
                    @hide="switchDept"
                    trigger="click">
                <table id="jqGridEmp"></table>
                <div id="jqGridPagerEmp"></div>
                <button class="btn btn-primary" slot="reference" ><i class="fa fa-pencil-square-o"></i>调部门</button>
            </el-popover>
            <el-drawer
                    title="选择调入的部门"
                    :before-close="handleCloseDrawer"
                    :visible.sync="dialog"
                    direction="rtl"
                    custom-class="demo-drawer"
                    ref="drawer">
               <div class="demo-drawer__content">
                   <el-form>
                       <el-input type="text" v-model="emp.deptName" @focus="deptTree" readonly="readonly" placeholder="选择部门"></el-input>
                   </el-form>
                    <div class="demo-drawer__footer">
                        <el-button @click="cancelForm">取 消</el-button>
                        <el-button type="primary" @click="changeDept" >确 定</el-button>
                    </div>
                </div>
            </el-drawer>-->
            <a class="btn btn-primary"  href="emp_change_dept_show.html">选择人员</a>
            </#if>
            <#if shiro.hasPermission("fun:emp:export")>
            <a class="btn btn-info" @click="exportExcel"><i class="fa fa-file-excel-o"></i>&nbsp;导出</a>
            </#if>
         </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/function/emp_change.js?_${.now?long}"></script>
</body>
</html>